package com.example.mybatisplus.service;

import com.example.mybatisplus.model.domain.*;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplus.model.dto.RoomAdjustForm;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zzy
 * @since 2024-06-24
 */
public interface LeaderService extends IService<Leader> {

    List<Leader> selectLeaderByNameAndAccount(Dot dot);


    List<RoomAdjustForm> getAllAdjustApplication(Dot dot);

    List<Building> getBuildingsByGender(Long ID);

    boolean updateAdjustByLeader(Long id, Long buildingID);

    boolean approveAdjustByLeader(Long id,Long leaderID, String state);

    List<RoomAdjustForm> getCheckOutApplication(Dot dot);

    boolean UpdateCheckOutApplication(Long id, Long leaderID);

    List<Indiscipline> getIndisciplineAudit(Dot dot);

    boolean updateIndisciplineAudit(Long id, Long leaderID, int score);
}
